package com.travel.admin.constants;

public class CacheKey {
	public static final String SPLIT = "-";
	private static final String PREFIX = "TRAVEL-";
	public static final String SEQUENCE = PREFIX + "CK1000";
	public static final String CAPTCHA = PREFIX + "CK1001";
	public static final String TOKEN = PREFIX + "CK1002";
	public static final String IP_LIMIT = PREFIX + "CK1003";
	public static final String EXPORT = PREFIX + "CK1004";

	public static final String PRODUCT_IDS = PREFIX + "CK1005";
	public static final String GROUND_ID_NUMBER = PREFIX + "CK1006";//上架剩余数量
	public static final String CUSTOMER_CERT_GROUND_NUMBER = PREFIX + "CK1007";//客户拥有凭证数量
	public static final String CUSTOMER_VERIFY = PREFIX + "CK1008";//客户认证状态
	public static final String QUICK_PAY_ORDER = PREFIX + "CK1009";//快捷支付短信发送状态
	public static final String QUICK_PAY_CONFIRM = PREFIX + "CK1010";//快捷支付确定支付状态
    public static final String ADD_ORDER_INFO = PREFIX + "CK1011";//下单状态查询
	public static final String CUSTOMER_BUY_STATE = PREFIX + "CK1012";//客户是否排队
	public static final String CUSTOMER_CANCEL_ORDER_NUM = PREFIX + "CK1013";//客户一天内取消订单次数

	public static final String SAND_QUICK_PAY_ORDER = PREFIX + "CK1014";//三德快捷支付短信发送状态
	public static final String SAND_QUICK_PAY_CONFIRM = PREFIX + "CK1015";//三德快捷支付确定支付状态
	/**
	 * 积分兑换
	 */
	public static final String POINTS_EXCHANGE = PREFIX + "CK1017";
	/**
	 * 积分抽奖
	 */
	public static final String POINTS_LOTTERY = PREFIX + "CK1018";
	/**
	 * 抽奖每日限制
	 */
	public static final String POINTS_CUSTOMER_LOTTERY_LIMIT = PREFIX + "CK1019";
	/**
	 * 客户提现安全密码输入错误次数
	 */
	public static final String SECURITY_PASSWORD_ERROR_LIMIT = PREFIX + "CK1016";

	public static final String SAND_WALLET_PAYMENT_URL = PREFIX + "CK1020";//三德钱包支付请求地址
	//分布式锁key
	private static final String PREFIX_LOCK = "OKYSEA-LOCK-";
	public static final String LOCK_GROUND_ID = PREFIX_LOCK + "LK1001";//下单购买或者空投减库存
	public static final String LOCK_OPEN_BLIND_GROUND_ID = PREFIX_LOCK + "LK1002";//开盲盒需要锁定,不然容易出错误数据
	public static final String LOCK_GROUNDING = PREFIX_LOCK + "LK1003" + "grounding";//信息上架加锁,固定编号
	public static final String PAY_ORDER = PREFIX_LOCK + "LK1004";//支付锁
	public static final String LOCK_CUSTOMER_PRODUCT = PREFIX_LOCK + "LK1005";//作品寄售，转赠, 合成锁

	public static final String LOCK_PRODUCT_ID = PREFIX_LOCK + "LK1006";//作品寄售下单锁
	/**
	 * 客户积分运算
	 */
	public static final String LOCK_CUSTOMER_POINTS = PREFIX_LOCK + "LK1007";
	/**
	 * 积分兑换商品
	 */
	public static final String LOCK_POINTS_PRODUCT = PREFIX_LOCK + "LK1008";
}
